Skip to main content

All Questions

1vote
0answers
77views

Check that inputs are valid dates

I have a method in a class that accepts either a datetime or string parameter. It is shown in the last code block (I didn't include the class). A little background is that I am defining a wrapper ...
Travis DePriest's user avatar
4votes
2answers
1kviews

Validating Shift class through builder pattern

I have a Shift class that looks like this: ...
Denis's user avatar
  • 8,558
1vote
1answer
613views

Using decorator pattern to validate an entity

I am following this article. ...
CodeYogi's user avatar
2votes
1answer
5kviews

Form validation in core php with oops concept

Here, i build one form validation script in php using understanding SOLID concept. My question is the way i coded my code is true way for ...
Himanshu's user avatar
5votes
3answers
4kviews

Returning a validation error from a command handler

...
User 12345678's user avatar

close